#ifndef MRR_PHYPOS_H_
#define MRR_PHYPOS_H_

/**
 * Physical Location.
 */
struct mrr_trunk_location {

	unsigned int trunkno;
	unsigned int offset;
};

typedef struct mrr_trunk_location mrr_phypos;

mrr_phypos* mrr_phypos_new();

void mrr_phypos_free(mrr_phypos *pos_ptr);

mrr_phypos* mrr_phypos_clone(mrr_phypos *p1);

int mrr_phypos_dist31(mrr_phypos *p1, mrr_phypos *p2);

void mrr_phypos_shift31(mrr_phypos *p1, int shift);

#endif /*MRR_PHYPOS_H_*/
